<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<div id="header" style="background:#999; height:30px; margin:0px; padding:0px">
	<div id="brand" style="height:30px; width:200px; float:left;">LOGO</div>
	<div id="login" style="height:30px; float:right; text-align: right;">
	<c:choose>
		<c:when test="${not empty currentUserProfile}">
			<a href="/dashboard/${currentUserProfile.name}">${currentUserProfile.name}</a> | <a href="/search">search</a> | <a href="/logout">logout</a> | <a href="/upload">upload</a>
		</c:when>
		<c:otherwise>
			<a href="/search">search</a> | <a href="/signin">Sign In</a> | <a href="/signup">Sign Up</a>
		</c:otherwise>
	</c:choose>
	</div>
</div>